package com.tedu;

public class Test005 {
    public static void main (String[] args) {
//        for (int i = 1; i < 4; i++) {
//            System.out.println(i);
//        }

//    打印0---10
        for (int i = 0; i <= 10; i++) {
            System.out.println(i);
        }

        System.out.println("==========================");
//打印10--0
        for (int i = 10; i >= 0; i--) {
            System.out.println(i);
        }
        System.out.println("==========================");

//打印打印8,88,888,8888
        for (int i = 8; i <= 8888; i = i * 10 + 8) {
            System.out.println(i);
        }

    }
}
